 ###########  Makefile ############
obj = test 
CC = g++
SRC = test.cc ../core/MemCache.cc  \
	 ../core/Helper.cc ../core/MemConnection.cc 

LIBS = -L/home/y/lib -L/usr/local/lib  -lmemcached 

INCLUDES =  -I/home/y/include -I/usr/local/include  -I../core  

OPTFLAG =-fno-default-inline -g3 -fno-default-inline -pthread `pkg-config --cflags --libs glib-2.0`    -D_DEBUG
all : $(obj)
	
$(obj):$(SRC)
	$(CC) -fPIC -Wall -g3 -o $(obj) $(SRC) $(OPTFLAG) $(INCLUDES) $(LIBS)

clean:
	rm -f $(SRC:.cc=.o) $(obj) $(obj).o

